<?php

//require_once '/var/www/vhosts/binova-services.com/httpdocs/lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';
require_once dirname(__FILE__) . '/../../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';
        
sfCoreAutoload::register();

class ProjectConfiguration extends sfProjectConfiguration
{
  public function setup()
  {
   // $this->enablePlugins('sfDoctrinePlugin');
    $this->enableAllPluginsExcept(array('sfPropelPlugin'));
	sfConfig::set('sf_app_i18n_dir',sfConfig::get('sf_root_dir').DIRECTORY_SEPARATOR.'i18n'); 
	sfConfig::add(array(
	  		'sf_upload_dir_name'  => $sf_upload_dir_name = sfConfig::get('app_fileMng_upload_dir_name', 'uploads'), //$sf_upload_dir_name = 'uploads',
	  		'sf_upload_dir_name'  => $sf_upload_dir_name = sfConfig::get('app_fileMng_upload_dir_name', 'uploads'), //$sf_upload_dir_name = 'uploads',
			'sf_upload_dir'       => sfConfig::get('sf_root_dir').DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.$sf_upload_dir_name,      
			'sf_download_dir_name'       => $sf_download_dir_name = sfConfig::get('app_fileMng_download_dir_name', 'downloads'), //$sf_upload_dir_name = 'uploads',
			'sf_download_dir'       => sfConfig::get('sf_root_dir').DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.sfConfig::get('sf_web_dir_name').$sf_download_dir_name,
			'sf_temp_dir_name'       => $sf_temp_dir_name = sfConfig::get('app_temp_dir_name', 'temp'), //$sf_temp_dir_name = 'temp',
			'sf_temp_dir'       => sfConfig::get('sf_root_dir').DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.sfConfig::get('sf_web_dir_name').$sf_temp_dir_name,
	  		'sf_reportdef_dir_name'  => $sf_reportdefs_dir_name = sfConfig::get('app_reportdef_dir_name', 'reportdefs'), //$sf_upload_dir_name = 'uploads',
			'sf_reportdefs_dir'       => sfConfig::get('sf_root_dir').DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.$sf_reportdefs_dir_name,      
		));      
  }
}
